package com.itheima.test;

public class test6 {
    public static void main(String[] args) {
        //打印折纸的次数
        //珠穆朗玛峰高度8848.43米
        //纸张厚度0.1mm
        //折多少次一样高
        double mountain = 8848.43e3;
        double paper = 0.1;
        int count = 0;

        while(paper<mountain){
            paper*=2;
            count++;
        }
        System.out.println(count);
    }
}
